﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoggedInUserAdvertise.ascx.cs" Inherits="Buy2Site.UserControls.LoggedInUserAdvertise" %>

<table cellspacing="5" cellpadding="5">
    <tr>
        <td>
            <asp:Label ID="Label1" runat="server" Text="שלום  ,  "></asp:Label>
            <asp:Label ID="lblLoggedInUserName" runat="server" Text="שם משתמש"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Button ID="btnAdvertiseAd" runat="server" Text="Advertise Ad" OnClick="btnAdvertiseAd_Click" />
                <%--onclick="return confirm('Ad was successfully advertised')" />--%>
                    <%--<asp:HyperLink ID="linkToMainPage" runat="server" Text="Go to Main Page"
                        NavigateUrl="~/Pages/Home.aspx"></asp:HyperLink>--%>            
        </td>
    </tr>
    <tr>
        <td>
            <%--<asp:HyperLink ID="logoutLink" runat="server" 
                Font-Underline="true" 
                ForeColor="Blue" 
                Font-Bold="true">Log out</asp:HyperLink>--%>
            <asp:LinkButton ID="linkBLogOut" Text="Log out"
                runat="server" OnClick="logOut_Click" >
            </asp:LinkButton>
        </td>
    </tr>
</table>
